﻿using AnlianCommon.Common.Domains.OrganizationalUnits;
using AnlianCommon.Common.Domains.UserPermissions;
using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Departments
{
    public class DepartmentSearchCommand : IRequest<ResultPage<DepartmentDto>>
    {
        //部门名称
        public string? DepartmentName { get; set; }
        //部门停用
        public string? DepartmentDeactivatebool { get; set; }
        //部门类型
        public string? DepartmentTypeId { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
